home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextInsertWcs.z
/
XmTextInsertWcs
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrttttWWWWccccssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrttttWWWWccccssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrttttWWWWccccssss - A Text function that inserts a wide
character string into a Text widget
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
vvvvooooiiiidddd XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrttttWWWWccccssss(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ppppoooossssiiiittttiiiioooonnnn,
wwwwcccchhhhaaaarrrr____tttt ****wwwwccccssssttttrrrriiiinnnngggg);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrttttWWWWccccssss inserts a wide character string into the
Text widget at a specified location. The character positions
begin at 0 (zero) and are numbered sequentially from the
beginning of the text. For example, to insert a string after
the fourth character, the _p_o_s_i_t_i_o_n parameter must be 4.
This routine calls the widget's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk and
verification callbacks, either XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk or
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss, or both. If both verification
callback lists are registered, the procedures of the
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk list are executed first and the
resulting data is passed to the XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss
callbacks. If the XXXXmmmmNNNNccccuuuurrrrssssoooorrrrPPPPoooossssiiiittttiiiioooonnnn resource is greater
than or is the same value as _p_o_s_i_t_i_o_n, the
XXXXmmmmNNNNmmmmoooottttiiiioooonnnnVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk is called.
Note that, if _v_a_l_u_e is a null string, no callbacks will be
generated, since no modifications will have been made.
_w_i_d_g_e_t Specifies the Text widget ID
_p_o_s_i_t_i_o_n Specifies the position in the text string where
the new character string is to be inserted
_w_c_s_t_r_i_n_g Specifies the wide character string value to be
added to the Text widget
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxtttt(3) and XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrtttt(3).
Page 1 (printed 10/24/98)